package cn.tedu.sp01.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data                //自动加入
@NoArgsConstructor   //无参构造
@AllArgsConstructor  //有参构造
public class Item {

    private Integer id;
    private String name;       //商品名称
    private Integer number;    //商品数量
}
